import { createStore } from 'vuex'

export default createStore({
  state: {
    city:localStorage.getItem('city'),
    key:''
  },
  getters: {
  },
  mutations: {
    update(state,city){
      state.city = city
    },
    updatekey(state,key){
      state.key = key
    }
  },
  actions: {
  },
  modules: {
  }
})
